Use CRPEJob::GetMargins to retrieve the page margin settings for the specified report. Use this method to determine the current margin settings for a report. Use CRPEJob::SetMargins, to change report margins.
BOOL GetMargins (
short *left,
short *right,
short *top,
short *bottom );
PEP_SM_DEFAULT is used to indicate printer default margins.
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |